package com.quotientintelligence.caftrak.shared;

import com.quotientintelligence.caftrak.shared.Substance.ActiveIng;
import com.quotientintelligence.caftrak.shared.Substance.MUnits;

public class CoffeeShop extends ProductFactory{

	int defaultSize=12;
	MUnits defaultUnits =  MUnits.gram;
	
	Substance createSubstance() {
		return this.createSubstance("Coffee");
	}
	Substance createSubstance(String name) {
		return this.createSubstance(name, defaultSize);
	}

	Substance createSubstance(String name, int size) {
		return new Substance(name, ActiveIng.Caffeine, size, defaultUnits);
	}
}
